package com.qinggeng.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import com.qinggeng.framework.web.domain.BaseEntity;

/**
 * 招聘信息浏览记录对象 job_info_browse
 * 
 * @author smallfish
 * @date 2020-12-24
 */
@Data
public class JobInfoBrowse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long browseId;

    /** 浏览用户ID */
    @Excel(name = "浏览用户ID")
    private Long jobUserId;

    /** 浏览目标ID */
    @Excel(name = "浏览目标ID")
    private Long jobInfoId;

    /** 浏览类型（10=职位浏览20=简历浏览 30=公司浏览） */
    @Excel(name = "浏览类型", readConverterExp = "1=0=职位浏览20=简历浏览,3=0=公司浏览")
    private String browseType;

    /** 浏览次数 */
    @Excel(name = "浏览次数")
    private Integer browseCount;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("browseId", getBrowseId())
            .append("jobUserId", getJobUserId())
            .append("jobInfoId", getJobInfoId())
            .append("browseType", getBrowseType())
            .append("browseCount", getBrowseCount())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
